import http from '@/axios/services'
export default {
  /**
   * 获取权限
   */
  async fetchJsTicket (ctx, params) {
    const url = '/wx/mp/location/getJsTicket'
    const res = await http.get(url, params)
    const { data } = res
    return data
  }
}
